home *** CD-ROM | disk | FTP | other *** search
- 39
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- MultiDisplayInfo
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baMultiDisplayInfo returns information about the screens.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baMultiDisplayInfo( Monitor, InfoType )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, string.
- --- RECORDSEPARATOR ---
- Monitor is the monitor to get the information of; eg "\\.\DISPLAY1". You can also
- --- RECORDSEPARATOR ---
- use "primary" to get the primary display, or "secondary" to get the secondary
- --- RECORDSEPARATOR ---
- display.
- --- RECORDSEPARATOR ---
- InfoType is the type of information to get. Can be:
- --- RECORDSEPARATOR ---
- "height"
- --- RECORDSEPARATOR ---
- the height of the screen in pixels
- --- RECORDSEPARATOR ---
- "width"
- --- RECORDSEPARATOR ---
- the width of the screen i
- --- RECORDSEPARATOR ---
- n pixels
- --- RECORDSEPARATOR ---
- "depth"
- --- RECORDSEPARATOR ---
- the colour depth of the screen in bits
- --- RECORDSEPARATOR ---
- "refresh"
- --- RECORDSEPARATOR ---
- the current refresh frequency of the display adaptor
- --- RECORDSEPARATOR ---
- "xpos", "ypos"
- --- RECORDSEPARATOR ---
- the x and y position of the monitor in relation to the primary monitor
- --- RECORDSEPARATOR ---
- "number"
- --- RECORDSEPARATOR ---
- the number of monitors in the system. The Monitor is ignored
- --- RECORDSEPARATOR ---
- "primary"
- --- RECORDSEPARATOR ---
- the name of the primary display. The Monitor is ignored
- --- RECORDSEPARATOR ---
- "secondary"
- --- RECORDSEPARATOR ---
- the name of the secondary display. The Monitor is ignored
- --- RECORDSEPARATOR ---
- "card"
- --- RECORDSEPARATOR ---
- the name of the card powering the monitor.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String.
- --- RECORDSEPARATOR ---
- Returns the information requested, or an empty string if unsuccessful.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- ScrHgt = baMultiDisplayInfo( "primary", "height" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- monitors := baMultiDisplayInfo( "", "number" )